﻿using Stee.CAP8.MessageBus.Sagas.Messages.Events.Base;
using System;
using System.Collections.Generic;
using System.Text;

namespace Stee.CAP8.MessageBus.Sagas.Messages.Events.Orders
{
    [Serializable]
    public class OrderCreationEvent : ICommandWithIdIdentifier
    {
        public Guid? SagaId { get; set; }
        public int requestID { get; set; }

        public string ProductName { get; set; }
        public Guid ProductId { get; set; } = Guid.NewGuid();

    }

    public class ProductInfo 
    {

        public string ProductName { get; set; }
        public Guid ProductId { get; set; } = Guid.NewGuid();
    }
}
